
using UnityEngine.UI;

public class PanelHall : PanelBase
{
    public Text m_txt_loading;
    
    protected override void Init()
    {
        base.Init();
        m_PanelType = EPanelType.Hall;
    }
    
    public void OpenPanelLoading()
    {
        m_txt_loading.text = GameManager.m_Instance.m_SceneType == ESceneType.Scene_1 ? "车身" : "驱动";
        UIManager.m_Instance.OpenPanelByName(PanelName.PanelLoading);
    }

}
